package com.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class IndexController {

    @RequestMapping("/index")//http://localhost:8080/index
    public String index(){
        System.out.println("index ");
        return "index";
    }
}
